import com.Al.pattern.lazy.LazyDoubleCheckSingleton;
import com.Al.pattern.lazy.LazySimpleSingleton;
import com.Al.pattern.threadLocal.ThreadLocalSingleton;

/**
 * @Author lizhigang Date: 2019/4/17 22:34
 * @description:
 */
public class ExectorThread implements Runnable {
	public void run() {
//		LazySimpleSingleton singleton = LazySimpleSingleton.newInstence();
//		LazyDoubleCheckSingleton singleton = LazyDoubleCheckSingleton.getInstance();
		ThreadLocalSingleton singleton = ThreadLocalSingleton.getInstance();

		System.out.println(Thread.currentThread().getName()+":"+singleton);
	}
}
